package mapper;

import bean.RoomBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IRoomMapper {
    public void add(RoomBean room);
    public void del(Integer id);
    public void update(@Param("sid") Integer id,@Param("sprice") int price);
    public List<RoomBean> findAll();
    public RoomBean findById(Integer id);
}
